<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 0;
            height: 0;
            /* border: 20px solid hotpink; */
            border-color: hotpink transparent transparent transparent;
            border-style: solid;
            border-width: 100px;
            /* 兼容地版本的浏览器 */
            font-size: 0;
            line-height: 0;
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>